<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>Txt2tags User Guide</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="index.html">
<LINK REL="Prev" HREF="SupportedFormattingStructures.html">
<LINK REL="Next" HREF="StatusofSupportedStructuresbyTarget.html">
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
--></STYLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="userguide.css"></HEAD>
<BODY>
<A HREF="index.html">Contents</A>
<A HREF="SupportedFormattingStructures.html">Previous</A>
<A HREF="StatusofSupportedStructuresbyTarget.html">Next</A>
<HR NOSHADE>

<H2><A NAME="2_3">Supported Targets</A></H2>
<DL>
<DT><B>HTML</B></DT>
<DD> Everybody knows what HTML is. (hint: Internet)
<P></P>
 Txt2tags generates clean HTML documents, that look pretty and have its
 source readable. It DOES NOT use javascript, frames or other futile
 formatting techniques, that aren't required for simple, techie
 documents. But a separate CSS file can be used if wanted. Txt2tags
 generates &quot;<I>HTML 4.0 Transitional</I>&quot; code.
<P></P>
 Txt2tags HTML generated code is 100% approved by the <A HREF="http://validator.w3.org/">
w3c validator</A>.
<P></P>
</DD>
<DT><B>XHTML</B></DT>
<DD> It is the new generation of HTML, with more strict rules. This
 makes the code easier to parse and understand. For the general purpose,
 consider it HTML. Txt2tags generates &quot;<I>XHTML 1.0 Transitional</I>&quot;
 code.
<P></P>
 Txt2tags XHTML generated code is 100% approved by the <A HREF="http://validator.w3.org/">
w3c validator</A>.
<P></P>
</DD>
<DT><B>SGML</B></DT>
<DD> It is a common document format which has powerful conversion
 applications (<A HREF="http://packages.debian.org/linuxdoc-tools">
linuxdoc-tools</A>). From a single SGML file you can generate HTML, PDF,
 PostScript, Info, LaTeX, LyX, RTF and XML documents. The tools also
 does automatic TOC and break sections into subpages.
<P></P>
 Txt2tags generates SGML files in the LinuxDoc system type, ready to be
 converted with linuxdoc-tools without any extra catalog files or any
 SGML annoying requirements.
<P></P>
</DD>
<DT><B>LATEX</B></DT>
<DD> The preferred academic document format, it is more powerful than
 you ever wondered. Full books, complicated formulas and any complex
 text can be written in LaTeX. But prepare to loose your hair when you
 try to write the tags by hand...
<P></P>
 Txt2tags generates ready-to-use LaTeX files, doing all the complex
 escaping tricks and exceptions. The writer just need to worry about the
 text.
<P></P>
</DD>
<DT><B>LOUT</B></DT>
<DD> Very similar to LaTeX in power, but with an easier syntax using &quot;@&quot;
 instead &quot;\&quot; and avoiding the need of braces in common situations. Its
 approach of everything-is-an-object makes the tagging much saner.
<P></P>
 Txt2tags generates ready-to-use Lout files, which can be converted do
 PS or PDF files using the &quot;lout&quot; command.
<P></P>
</DD>
<DT><B>MAN</B></DT>
<DD> UNIX man pages resist over the years. Document formats come and go,
 and there they are, unbeatable.
<P></P>
 There are other tools to generate man documents, but txt2tags has one
 advantage: one source, multi targets. So the same man page contents can
 be converted to an HTML page, Wiki document and plain text.
<P></P>
</DD>
<DT><B>MGP</B></DT>
<DD> <A HREF="http://en.wikipedia.org/wiki/MagicPoint">MagicPoint</A> is
 a very handy presentation tool (hint: Microsoft PowerPoint), that uses
 a tagged language to define all the screens. So you can do complex
 presentations in vi/emacs/notepad.
<P></P>
 Txt2tags generates a ready-to-use .mgp file, defining all the necessary
 headers for fonts and appearance definitions, as long as international
 characters support.
<P></P>
 Txt2tags creates &quot;diet&quot; .mgp files: they use the Type1 fonts, so you do
 not need to carry TrueType fonts files with your presentation. Also,
 the color definitions are simple, so even on a poor color palette
 system (such as <CODE>startx -- -bpp 8</CODE>), the presentation will
 look pretty!
<P></P>
 The key is: convert and use. No quick fixes or requirements needed.
<P></P>
</DD>
<DT><B>WIKI</B></DT>
<DD> You've heard about the <A HREF="http://wikipedia.org">Wikipedia</A>
, right? So you don't need to learn yet-another markup syntax. Just
 stick with txt2tags and let it convert your text to the Wikipedia
 format, called <A HREF="http://en.wikipedia.org/wiki/MediaWiki">
MediaWiki</A>.
<P></P>
</DD>
<DT><B>GWIKI</B></DT>
<DD> Now you can easily paste your project's current documentation into
 the <A HREF="http://code.google.com/">Google Code</A> Wiki.
<P></P>
</DD>
<DT><B>DOKU</B></DT>
<DD> <A HREF="http://www.dokuwiki.org/dokuwiki">DokuWiki</A> is a
 standards compliant, simple to use Wiki, mainly aimed at creating
 documentation of any kind. It is targeted at developer teams,
 workgroups and small companies. It has a simple but powerful syntax
 which makes sure the data files remain readable outside the Wiki and
 eases the creation of structured texts. All data is stored in plain
 text files - no database is required.
<P></P>
</DD>
<DT><B>MOIN</B></DT>
<DD> You don't know what <A HREF="http://moinmo.in/">MoinMoin</A> is? It
 is a <A HREF="http://www.c2.com/cgi/wiki">WikiWiki</A>!
<P></P>
 Moin syntax is kinda boring when you need to keep <CODE>{{{'''''adding
 braces and quotes'''''}}}</CODE>, so txt2tags comes with the simplified
 marks and unified solution: one source, multi targets.
<P></P>
</DD>
<DT><B>PM6</B></DT>
<DD> Adobe PageMaker 6.0 has its own tagged language. Styles, color
 table, beautifiers, and most of all the PageMaker mouse-clicking
 features are also available on its tagged language. You just need to
 access the &quot;Import tagged text&quot; menu item. Just for the records, it's
 an &lt;HTML &quot;like&quot;&gt; tag format.
<P></P>
 Txt2tags generates all the tags and already defines a extensive and
 working header, setting paragraph styles and formatting. This is the
 hard part.
<P></P>
<B> Author's note:</B> My entire portuguese <A HREF="http://guia-er.sf.net">
regular expression's book</A> was written in VI, then converted to
 PageMaker with txt2tags and went to the publisher. It works :)
<P></P>
</DD>
<DT><B>TXT</B></DT>
<DD> TXT is text. Simple, pure, beautiful.
<P></P>
 Although txt2tags marks are very intuitive and discrete, you can remove
 them by converting the file to pure TXT.
<P></P>
 The titles are underlined, and the text is basically left as is on the
 source.</DD>
</DL>
<P> Tip: Use the <CODE>--targets</CODE> command line option to get a
 complete list of all the available targets.</P>
 <A NAME="struct-support"></A><HR NOSHADE>
<A HREF="index.html">Contents</A>
<A HREF="SupportedFormattingStructures.html">Previous</A>
<A HREF="StatusofSupportedStructuresbyTarget.html">Next</A>
</BODY>
</HTML>
